<?php
function F_Read_CSVFile($file)
{
    if (fopen($file, 'r')) {
        $file_handle = fopen($file, 'r');
        while (!feof($file_handle)) {
            $line_of_text[] = fgetcsv($file_handle, 1024, ",", "'");
        }
        foreach ($line_of_text as $key => $value) {
            if (count($value) == 1) {
                unset($line_of_text[$key]);
            }
        }
        return $line_of_text;
    }

}

if ($this->F_Read_CSVFile($_FILES['filecsv']['tmp_name'])) {
    $array[] = F_Read_CSVFile($_FILES['filecsv']['tmp_name']);
    echo '<pre>';
    print_r($array);
    echo '</pre><br />';
} else {
    echo "file is not select";
    $this->F_Show();

}
?>